using UnityEngine;
using System.Collections;

public class SplashScreen : MenuModel {

    public float waitTime = 2.0f;

    void Start()
    {
        StartCoroutine(WaitForLaunch(waitTime));
    }

    IEnumerator WaitForLaunch(float time)
    {
        yield return new WaitForSeconds(time);
        SwitchSceneManager.Instance.SwitchToScene("MenuPrincipal");
    }

}
